- cmd/lerproxy/reverse/proxy.go
- Changed package from 'reverse' to 'main'
- Added standardized Forwarded header according to RFC 7239
- Set X-Forwarded-* headers for backward compatibility
- Updated URL path joining logic
- cmd/lerproxy/hsts/proxy.go
- Changed package from 'hsts' to 'main'
- Updated HSTS header setting
- cmd/lerproxy/timeout/conn.go
- Changed package from 'timeout' to 'main'
- cmd/lerproxy/util/u.go
- Changed package from 'util' to 'main'
- cmd/lerproxy/buf/bufpool.go
- Changed package from 'buf' to 'main'
- cmd/lerproxy/main.go
- Removed redundant package declarations and imports
- Renamed struct and function names to follow camelCase convention
- Updated server setup logic
- cmd/lerproxy/tcpkeepalive/listener.go
- Changed package from 'tcpkeepalive' to 'main'